package com.data.modules.sm.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.data.modules.sm.entity.SmShop;
import com.data.modules.sm.mapper.SmShopMapper;
import com.data.modules.sm.service.ISmShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Description: sm_shop
 * @Author: data-boot
 * @Date:   2022-11-11
 * @Version: V1.0
 */
@Service
public class SmShopServiceImpl extends ServiceImpl<SmShopMapper, SmShop> implements ISmShopService {

    @Autowired
    private SmShopMapper mapper;
    /**
     * 统计商城使用情况
     * @param province
     * @return
     */
    @Override
    public Map getShopCondition(String province) {

        return  mapper.getShopCondition(province);
    }
}
